package compiler.scanner.nfa;

import java.util.ArrayList;

/// <summary>
/// Summary description for NFATransition.
/// </summary>
public class NFATransition
{
    //~ Instance fields --------------------------------------------------------

    private final ArrayList<NFAState> destinations = new ArrayList<NFAState>();
    private char                      character;

    //~ Constructors -----------------------------------------------------------

    public NFATransition() {}

    //~ Methods ----------------------------------------------------------------

    public char getCharacter()
    {
        return character;
    }

    public ArrayList<NFAState> getDestinations()
    {
        return destinations;
    }

    public void setCharacter(char character)
    {
        this.character = character;
    }
}
